projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c1450
)
(selection_data_to_lisp_data): Disable composition handling.
author
Kenichi Handa
<handa@m17n.org>
Mon, 24 Jun 2002 00:37:24 +0000
(
00:37
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 24 Jun 2002 00:37:24 +0000
(
00:37
+0000)
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/xselect.c
b/src/xselect.c
index 613d42eeb9f35371a3f255f8a58b787ec64848c7..efeaf89efa5bd350f123fd56eac526487dd97254 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-1646,6
+1646,10
@@
selection_data_to_lisp_data (display, data, size, type, format)
coding.dst_multibyte = 1;
Vnext_selection_coding_system = Qnil;
coding.mode |= CODING_MODE_LAST_BLOCK;
+ /* We explicitely disable composition handling because
+ selection data should not contain any composition
+ sequence. */
+ coding.composing = COMPOSITION_DISABLED;
bufsize = decoding_buffer_size (&coding, size);
buf = (unsigned char *) xmalloc (bufsize);
decode_coding (&coding, data, buf, size, bufsize);